package zestaw4.klonowanie_obiektow;

/**
 * Author: Daniel
 * Date: 03.08.13
 */

public class A implements Cloneable {
    private int a = 3;

    public int getA() {
        return a;
    }

    @Override
    public Object clone() {
        try {
            return super.clone();
        } catch (CloneNotSupportedException e) {
            throw new Error("Dziękujemy za klonowanie");
        }
    }
}
